<include file="../header" />
<body class="J_scroll_fixed">
    <script>

        $(document).ready(function() {

            
        });

    </script>
<form class="well form-search" method="post" style="float:left;width:100%;" action="{:U('vipOrder/index')}">
    <div class="search_type cc mb10">
        <div class="mb10">
        <span class="mr20">
            手机号：
        <input type="text" name="mobile" class="input" value="{$mobile}" />
        会员姓名：
        <input type="text" name="vipName" class="input" value="{$vipName}" />
        订单状态：{:getEnumSelectWidget($statusEnum,'status',$status,1)}
            <button class="btn btn-primary">搜索</button>
            <a class="btn" href="{:U('vipOrder/index')}">重置</a>
        </span>
        </div>
    </div>
</form>
<div class="wrap J_check_wrap">
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>订单编号</th>
            <th>创建时间</th>
            <th>购买会员</th>
            <th>时长</th>
            <th>状态</th>     
        </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.order_id}</td>
                <td>{$vo.create_time}</td>
                <td>{$vo.vip_name}</td>
                <td>{$vo.term_number}&nbsp;{:getEnumString($cardType, $vo['buy_type'])}</td>
                <td>
                    {:getEnumString($statusEnum, $vo['status'])}
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>